<!---- Creator: Eoly -->
<!---- On 2017/3/27 -->
<!---- Call http://palerock.cn -->

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <title>设备管理器</title>
    <!--默认样式-->
    <script data-main="config/main.js" src="lib/require/require.js"></script>
    <link rel="stylesheet" href="lib/sui/sm.min.css">
    <link rel="stylesheet" href="lib/sui/sm-extend.min.css">
    <link rel="stylesheet" href="lib/font-awesome-4.7.0/css/font-awesome.css">
    <!--全局样式-->
    <link rel="stylesheet" href="src/common/page/css-cover/theme.css">
    <link rel="stylesheet" href="src/common/page/css-cover/cover-all.css">
</head>

<body id="body" ng-controller="default">
<div class="page-group" ng-view>
    <!--模版内容区-->
</div>
<div class="nav-test" style="height: 2.2rem;opacity: 0;position: absolute;z-index: -9999"></div>
<!--全局侧边栏-->
<div class="panel panel-left panel-reveal theme-white" id='setting-panel'>
    <div class="panel-header">
        <div class="content-block">
            <a href="javascript:;" class="close-panel text-center icon icon-left"></a>
        </div>
    </div>
    <div class="content">
        <div class="list-block">
            <ul>
                <li>
                    <a href="#hello" class="item-content item-link">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title">欢迎页面</div>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="#home" class="item-content item-link">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title">主页</div>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="#device-list" class="item-content item-link">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title">设备列表</div>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="javascript:;" ng-click="gotoRegister('device')" class="item-content item-link">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title">添加设备</div>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="javascript:;" ng-click="gotoRegister('template')" class="item-content item-link">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title">添加模版</div>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="#statistics" class="item-content item-link">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title">统计页面</div>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="#accident-main" class="item-content item-link">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title">安全数据</div>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="#io" class="item-content item-link">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title">数据备份</div>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="#setting" class="item-content item-link">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title">设置</div>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="javascript:;" ng-click="checkVersion(true)" class="item-content item-link">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title">检查更新</div>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="javascript:;" ng-click="exit()" class="item-content item-link">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title">退出程序</div>
                        </div>
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>
</body>
<!--自定义js--开始-->
<div id="page-js"></div>
<!--自定义js--结束-->
</html>